package com.xuanwei.core.entity;

import lombok.Data;

import java.util.List;

/**
 * @Author jiangyong
 * @Description TODO
 * @Date 2019/4/22 16:38
 **/
@Data
public class RoleVo {

    private Integer id;

    private String name;

    private List<RolePermission> rolePermissions;


    public class RolePermission{

        private Integer id;

        private String name;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
